using ERPBackend.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ERPBackend.Services
{
    public interface IFirstLevelCategoryService
    {
        Task<IEnumerable<FirstLevelCategory>> GetAllFirstLevelCategoriesAsync();
        Task<FirstLevelCategory> GetFirstLevelCategoryByIdAsync(int id);
        Task<FirstLevelCategory> CreateFirstLevelCategoryAsync(FirstLevelCategory firstLevelCategory);
        Task<bool> UpdateFirstLevelCategoryAsync(FirstLevelCategory firstLevelCategory);
        Task<bool> DeleteFirstLevelCategoryAsync(int id);
    }
}